home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
C
/
Frameworks
/
Grant's CGI Framework 1.0b12
/
Util
/
PrefUtil.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-09
|
1KB
|
54 lines
#pragma once
/*****
*
* PrefUtil.h
*
* This is a support file for "Grant's CGI Framework".
* Please see the license agreement that accompanies the distribution package
* for licensing details.
*
* Copyright ©1995 by Grant Neufeld
* grant@acm.com
* http://arpp1.carleton.ca/grant/
*
*****/
/*** CONSTANT DECLARATIONS ***/
#define kPrefResType 'Pref'
#define kPrefFileType 'pref'
#define krPrefStartupThreads 0
#define krPrefQuitOnIdle 2
#define krPrefIdleTimeBeforeQuit 4
/*** TYPE DECLARATIONS ***/
/*** GLOBAL DECLARATIONS ***/
#ifdef __MainSegment__
#define _GLOBAL_
#else
#define _GLOBAL_ extern
#endif
_GLOBAL_ short gPrefStartupThreads;
_GLOBAL_ Boolean gPrefQuitOnIdle;
_GLOBAL_ long gPrefIdleTimeBeforeQuit;
#undef _GLOBAL_
/*** FUNCTION PROTOTYPES ***/
void PrefStartup ( void );
void PrefSaveItem ( short, ResType, void *, short );
OSErr PrefCreateFile ( void );
OSErr PrefOpenFile ( void );
OSErr PrefCloseFile ( void );
/***** EOF *****/